package top.lidee.repository.model.twice.vo.applet;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/10/22 14:41
 */
@Data
public class StoreIndexVo {

    @ApiModelProperty("自增ID")
    private Integer id;

    @ApiModelProperty("所属商户ID")
    private Integer merchantId;

    @ApiModelProperty("主体类型：0个体工商户，1企业，2个人商户")
    private String principalType;

    @ApiModelProperty("地址（经营地址/营业执照地址）")
    private String address;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("主营分类ID(2级)")
    private Integer cateId;

    @ApiModelProperty("主营分类名称")
    private String cateName;

    @ApiModelProperty("店铺名称")
    private String name;

    @ApiModelProperty("店铺二维码")
    private String qrCode;

    @ApiModelProperty("省份")
    private String province;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("区/县")
    private String county;

    @ApiModelProperty("门头照片url")
    private String doorPhotographUrl;

    @ApiModelProperty("内景照片url")
    private String interiorUrl;

    @ApiModelProperty("营业时间")
    private String hours;

    @ApiModelProperty("备注信息")
    private String description;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("A：有效/启用；D：无效；E：审核失败")
    private String status;

}
